package com.xinhe.web.response;

import com.xinhe.web.entity.OrderItem;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;
@Data
public class TeamOrderByUserView {
    @ApiModelProperty("id")
    private Long id;
    @ApiModelProperty("关联买家id")
    private Long buyerUserId;
    @ApiModelProperty("拼团商品id")
    private Long teamGoodsId;
    @ApiModelProperty("关联拼团id")
    private Long teamBuyId;
    @ApiModelProperty("关联订单id")
    private Long orderId;
    @ApiModelProperty("订单状态")
    private String teamOrderStatus;
    @ApiModelProperty("拼团状态")
    private String teamBuyStatus;
    @ApiModelProperty("订单编号")
    private String code;
    @ApiModelProperty("订单总费用")
    private BigDecimal orderFee = BigDecimal.ZERO;
    @ApiModelProperty("数量")
    private Integer orderAmount;
    @ApiModelProperty("商品描述")
    private String dis;
    @ApiModelProperty("商品单价")
    private BigDecimal goodsFee;
    @ApiModelProperty("下单时间")
    private Date createTime;
    @ApiModelProperty("支付时间")
    private Date payTime;
    private TeamBuyDetailView teamBuyDetailView;
    private OrderAddressView orderAddressView;
    private List<OrderItem> orderItems;
}
